package com.qingzhuge.sys.dto.response;

import com.qingzhuge.dto.response.BaseResponsePkLongDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

/**
 * @author : zero.xiao
 * @description : 系统配置信息
 * @date :2018/6/8 0008 下午 14:55
 * @modified :
 */
@Setter
@Getter
@ApiModel("系统配置K-V")
public class SysConfigResponseDto extends BaseResponsePkLongDto {
    private static final long serialVersionUID = -4356710065894358572L;
    @ApiModelProperty("参数名")
    @NotBlank(message = "参数名不能为空")
    private String key;
    @ApiModelProperty("参数值")
    @NotBlank(message = "参数值不能为空")
    private String value;
}
